Skip to content

Conversation

therepanic
Copy link
Contributor

Closes: gh-17812

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Sep 3, 2025
Comment on lines -244 to +212
Assert.isTrue(!basePath.endsWith("/"), "basePath must not end with a slash");
Assert.isTrue("/".equals(basePath) || !basePath.endsWith("/"), "basePath must not end with a slash");
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe in gh-17812, it was proposed to allow passing basePath as “/”.

@therepanic
Copy link
Contributor Author

I think the build crashes because of 0a991a9

@jzheaux jzheaux self-assigned this Sep 5, 2025
@jzheaux jzheaux changed the base branch from main to 6.5.x September 9, 2025 22:30
@jzheaux jzheaux added in: web An issue in web modules (web, webmvc) type: bug A general bug and removed status: waiting-for-triage An issue we've not yet triaged labels Sep 9, 2025
@jzheaux jzheaux added this to the 6.5.4 milestone Sep 9, 2025
@jzheaux jzheaux merged commit eca8214 into spring-projects:6.5.x Sep 9, 2025
6 checks passed
@jzheaux
Copy link
Contributor

jzheaux commented Sep 10, 2025

Thanks, @therepanic! This is now merged into 6.5.4 and main.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: web An issue in web modules (web, webmvc) type: bug A general bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

PathPatternRequestMatcherBuilder should not create a double-slash URI with a root base path
3 participants